//
//  ILHomeArticTableViewCell.m
//  ILife
//
//  Created by lanou on 15/11/2.
//  Copyright © 2015年 ILife. All rights reserved.
//

#import "ILHomeArticTableViewCell.h"
#import <UIImageView+WebCache.h>
@implementation ILHomeArticTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(100, 20, 200, 60)];
        _titleLabel.font = [UIFont systemFontOfSize:16];
        _titleLabel.numberOfLines = 0;
        
        _thumbImg = [[UIImageView alloc]initWithFrame:CGRectMake(10, 5, 80, 80)];
        
        
        
        [self.contentView addSubview:_titleLabel];
        [self.contentView addSubview:_thumbImg];
    }
    return self;
}


- (void)setConfiguer:(ILFashionDetailBasonModel *)configuer
{
    _configuer = configuer;
    
    _titleLabel.text = configuer.title;
    
    [_thumbImg sd_setImageWithURL:[NSURL URLWithString:configuer.thumb]];
    
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
